package com.drinks.yiniang.entity.community;

import com.drinks.yiniang.entity.goods.GoodsJson;
import com.hansen.library.entity.BaseJson;

import java.util.List;

/**
 * 社区热门
 * @author han
 * @date 2019/12/3
 */
public class CommunityHotJson extends BaseJson {

    private CommunityHotData data;

    public CommunityHotData getData() {
        return data;
    }

    public void setData(CommunityHotData data) {
        this.data = data;
    }

    public static class CommunityHotData {
        private List<CommunityHotList> data;

        public List<CommunityHotList> getData() {
            return data;
        }

        public void setData(List<CommunityHotList> data) {
            this.data = data;
        }
    }

    public static class CommunityHotList {
        private String id;
        //用户ID
        private String fans_id;
        //门店ID，当门店ID>0时表示是门店发的文章，点击头像不需要跳转
        private String stores_id;
        private String title;
        private String content;
        //是否精华
        private String is_essence;
        private String like_count;
        private String cover_url;
        private String is_like;
        //加精图标
        private String essence_icon;
        //是否来自关注, 1-是， 0-否
        private String from_focus;
        //所属用户信息
        private String username;
        private String avatar;
        //关联商品的活动标签
        protected List<GoodsJson.GoodsActivity> activities;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getFans_id() {
            return fans_id;
        }

        public void setFans_id(String fans_id) {
            this.fans_id = fans_id;
        }

        public String getStores_id() {
            return stores_id;
        }

        public void setStores_id(String stores_id) {
            this.stores_id = stores_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getIs_essence() {
            return is_essence;
        }

        public void setIs_essence(String is_essence) {
            this.is_essence = is_essence;
        }

        public String getLike_count() {
            return like_count;
        }

        public void setLike_count(String like_count) {
            this.like_count = like_count;
        }

        public String getIs_like() {
            return is_like;
        }

        public void setIs_like(String is_like) {
            this.is_like = is_like;
        }

        public String getCover_url() {
            return cover_url;
        }

        public void setCover_url(String cover_url) {
            this.cover_url = cover_url;
        }

        public String getEssence_icon() {
            return essence_icon;
        }

        public void setEssence_icon(String essence_icon) {
            this.essence_icon = essence_icon;
        }

        public String getFrom_focus() {
            return from_focus;
        }

        public void setFrom_focus(String from_focus) {
            this.from_focus = from_focus;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public List<GoodsJson.GoodsActivity> getActivities() {
            return activities;
        }

        public void setActivities(List<GoodsJson.GoodsActivity> activities) {
            this.activities = activities;
        }
    }
}
